package io.coderyeah.search.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName t_search_master_msg_audit_log
 */
@TableName(value = "t_search_master_msg_audit_log")
@Data
public class SearchMasterMsgAuditLog implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 消息id
     */
    private Long msgId;

    /**
     * 状态 0失败 1成功
     */
    private Integer state;

    /**
     * 审核人 如果为null系统审核
     */
    private Long auditId;

    /**
     * 审核时间
     */
    private Date auditTime = new Date();

    /**
     * 备注
     */
    private String note;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}